package com.etc.entity;

public class Friend {
    private Integer friendid;

    private String friendname;

    private Integer userid;

    public Friend() {
		super();
	}

	public Friend(Integer friendid, String friendname, Integer userid) {
		super();
		this.friendid = friendid;
		this.friendname = friendname;
		this.userid = userid;
	}

	@Override
	public String toString() {
		return "Friend [friendid=" + friendid + ", friendname=" + friendname + ", userid=" + userid + "]";
	}

	public Integer getFriendid() {
        return friendid;
    }

    public void setFriendid(Integer friendid) {
        this.friendid = friendid;
    }

    public String getFriendname() {
        return friendname;
    }

    public void setFriendname(String friendname) {
        this.friendname = friendname == null ? null : friendname.trim();
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }
}